Smartcat\Includes\Services\App\TranslationRequestService A

Total Complexity 71
Dependencies 9
Dependents 2
Total lines 670
Lines of code 457
Logical lines of code 188
Comment lines 42
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
sendPostToSmartcat()
A
40 8 61
exportContentFromSmartcat()
A
43 8 51
updateDocumentsProgress()
A
48 8 34
list()
S
45 5 43
create()
S
48 4 34
exportTranslations()
S
56 4 19
checkTranslationRequestProject()
S
57 4 18
sendContentToSmartcat()
S
58 4 16
addComment()
S
60 4 14
resetInvalidProject()
S
63 3 11
info()
S
54 2 23
tryInitTranslationRequest()
S
64 2 11
addLanguage()
S
56 1 20
updateSourceContent()
S
57 1 17
updateDeadline()
S
66 2 10
getTranslationRequestIds()
S
80 1 3
fetchProject()
S
69 1 8
__construct()
S
69 1 7
createSmartcatProject()
S
66 1 10
updateProjectsInfo()
S
82 1 3
totalRequests()
S
69 1 7
find()
S
74 1 5
removePost()
S
65 1 9
remove()
S
67 1 8
removeLanguage()
S
65 1 9
getTranslationsByPostAndLocale()
S
71 1 6